package com.woniuxy.commons.entity.purchaseManager.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.woniuxy.commons.entity.purchaseManager.base.PurchaseBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName PurchaseOrderGoodsEditDTO
 * @Description 编辑采购单对应商品DTO
 * @Author xianhao
 * @Date 2022/4/25 11:14
 * @Version 1.0.0
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PurchaseOrderGoodsEditDTO extends PurchaseBaseEntity implements Serializable {

    /**
     * 采购单id
     */
    @TableId
    private Integer purchaseOrderId;
    /**
     * 分配需求单id
     */
    @TableField("allocation_demand_id")
    private Integer allocationDemandId;
    /**
     * 单号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 客户
     */
    @TableField("customer")
    private String customer;
    /**
     * 采购重量
     */
    @TableField("pur_weight")
    private Integer purWeight;
    /**
     * 采购数量
     */
    @TableField("pur_nums")
    private Integer purNums;
    /**
     * 来货重量
     */
    @TableField("cargo_weight")
    private Integer cargoWeight;
    /**
     * 来货数量
     */
    @TableField("cargo_nums")
    private Integer cargoNums;
    /**
     * 采购人
     */
    @TableField("procurement")
    private String procurement;
    /**
     * 状态
     */
    @TableField("purchase_order_status")
    private Integer purchaseOrderStatus;
    /**
     * 产品线
     */
    @TableField("product_line")
    private Integer productLine;
    /**
     * 品类
     */
    @TableField("category")
    private Integer category;
    /**
     * 仓库
     */
    @TableField("warehouse")
    private Integer warehouse;
    /**
     * 制单人
     */
    @TableField("mak_people")
    private String makPeople;
    /**
     * 成色
     */
    @TableField("condition_")
    private Integer condition;

    /**
     * 审核人
     */
    @TableField("audit")
    private String audit;

    //------------------------------基本商品信息
    private List<PurchaseOrderGoodsDTO> purchaseOrderGoodsDTO;
}
